#include"list.h"
int main()
{
	bit::list<int> l1;
	l1.push_back(1);
	l1.push_back(2);
	l1.push_back(3);
	l1.push_back(4);
	l1.push_front(0);
	l1.push_front(-1);
	l1.pop_front();
	l1.pop_back();
	l1.clear();
	for (auto e : l1)
	{
		cout << e << " ";
	}
	cout << endl;
	bit::list<int> l2(10, 1);
	l1 = l2;
	for (auto e : l1)
	{
		cout << e << " ";
	}
	cout << endl;
	return 0;
}